package com.atstudy.abs;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/16 10:30
 * @copyright: 博为峰
 */

//抽象类
public abstract class Shape {
    //抽象方法
    public abstract double area();

    public abstract double perimeter();

    public Shape() {
    }

    public void m1() {
        System.out.println("非抽象方法");
    }
}
